import request from '@/utils/request'

// 查询测试明细列表
export function listTestStep(query) {
  return request({
    url: '/project/testStep/list',
    method: 'get',
    params: query
  })
}

// 查询测试明细详细
export function getTestStep(stepId) {
  return request({
    url: '/project/testStep/' + stepId,
    method: 'get'
  })
}

// 新增测试明细
export function addTestStep(data) {
  return request({
    url: '/project/testStep',
    method: 'post',
    data: data
  })
}

// 修改测试明细
export function updateTestStep(data) {
  return request({
    url: '/project/testStep',
    method: 'put',
    data: data
  })
}



// 删除测试明细
export function delTestStep(stepId) {
  return request({
    url: '/project/testStep/' + stepId,
    method: 'delete'
  })
}
